package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 售后管理对象 shouhou
 * 
 * @author vv
 * @date 2025-06-30
 */
public class Shouhou extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Order order;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    /** id */
    private Integer id;
private String productImage;
private String productName;
private String productPrice;
private String productCode;
private String emsPrice;

    public String getEmsPrice() {
        return emsPrice;
    }

    public void setEmsPrice(String emsPrice) {
        this.emsPrice = emsPrice;
    }

    public String getProductImage() {
        return productImage;
    }

    public void setProductImage(String productImage) {
        this.productImage = productImage;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    /** 退款编号 */
    @Excel(name = "退款编号")
    private String refundNo;

    /** 售后状态 */
    @Excel(name = "售后状态")
    private String afterSalesStatus;
    /** 售后状态 */
    @Excel(name = "关联订单")
    private String oId;

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundAmount;

    /** 货物状态 */
    @Excel(name = "货物状态")
    private String goodsStatus;

    /** 退款原因 */
    @Excel(name = "退款原因")
    private String refundReason;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicationTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setRefundNo(String refundNo) 
    {
        this.refundNo = refundNo;
    }

    public String getRefundNo() 
    {
        return refundNo;
    }

    public void setAfterSalesStatus(String afterSalesStatus) 
    {
        this.afterSalesStatus = afterSalesStatus;
    }

    public String getAfterSalesStatus() 
    {
        return afterSalesStatus;
    }

    public void setRefundAmount(BigDecimal refundAmount) 
    {
        this.refundAmount = refundAmount;
    }

    public BigDecimal getRefundAmount() 
    {
        return refundAmount;
    }

    public void setGoodsStatus(String goodsStatus) 
    {
        this.goodsStatus = goodsStatus;
    }

    public String getGoodsStatus() 
    {
        return goodsStatus;
    }

    public void setRefundReason(String refundReason) 
    {
        this.refundReason = refundReason;
    }

    public String getRefundReason() 
    {
        return refundReason;
    }

    public void setApplicationTime(Date applicationTime) 
    {
        this.applicationTime = applicationTime;
    }

    public Date getApplicationTime() 
    {
        return applicationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("refundNo", getRefundNo())
            .append("afterSalesStatus", getAfterSalesStatus())
            .append("refundAmount", getRefundAmount())
            .append("goodsStatus", getGoodsStatus())
            .append("refundReason", getRefundReason())
            .append("applicationTime", getApplicationTime())
            .toString();
    }
}
